package com.foreknow.demo6;

public class B1 extends A1{
    int x = 2;

    public void fun(){
        System.out.println("这是子类中的fun");
    }

    public static void main(String[] args) {

    }
}
